using System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;

namespace Hermes.Framework.Test
{
    public abstract class ObjectiveExistTest : CommitRollbackTest
    {
        protected DateTime lastWriteTime;

        protected DateTime thisWriteTime;

        protected abstract string GetObjective();

        [SetUp]
        public void SetUp()
        {
            base.SetUp();
            if(! File.Exists(GetObjective())) 
            {
                File.Create(GetObjective());
            }
            lastWriteTime = File.GetLastWriteTime(GetObjective());
        }
    }
}
